﻿namespace DataTransfer.Core.Models
{
    /// <summary>
    /// 导出请求模型
    /// </summary>
    public class ExportRequest
    {
        /// <summary>
        /// data command parameters
        /// http service parameters
        /// 
        /// for excel export, the struct like below:
        /// {
        ///     "queryName1": {
        ///         "parameterName1_1": parameterValue1_1,
        ///         "parameterName1_2": parameterValue1_2,
        ///         "parameterName1_3": parameterValue1_3
        ///     },
        ///     "queryName2": {
        ///         "parameterName2_1": parameterValue2_1,
        ///         "parameterName2_2": parameterValue2_2,
        ///         "parameterName2_3": parameterValue2_3
        ///     }
        /// }
        /// </summary>
        public object? QueryContent { get; set; }
        /// <summary>
        /// 指定导出文件名
        /// </summary>
        public string? FileName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string? DispositionType { get; set; }
    }
}
